package com.guigu.springcloud.service;


import org.springframework.stereotype.Component;

@Component
public class PaymentFullBackService implements PaymentFeignService {

    @Override
    public String testHystrix_Ok(Long id) {
        return "------Hystrix ok is fail...";
    }

    @Override
    public String testHystrix_Timeout() {
        return "------Hystrix timeout is fail...";
    }

    @Override
    public String paymentCircuitBreaker(Integer id) {
        return "-----consumer client circuit break...";
    }
}
